package com.task.common.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户-角色 对应关系
 * @author Huzz
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user_role")
@ApiModel(value="UserRole对象", description="")
public class UserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id", example = "123")
    private Integer userId;

    @ApiModelProperty(value = "角色id", example = "123")
    private Integer roleId;

    @ApiModelProperty(value = "创建人id", example = "123")
    private Integer createdUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;


}
